﻿using BCCommon;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCCommon
{
    /// <summary>
    /// 芒果数据库配置
    /// </summary>
    [NonInjection]
    public interface IMongoDBConfiguration
    {
        /// <summary>
        /// 数据库名称
        /// </summary>
        string Database { get; }
        /// <summary>
        /// 链接字符串
        /// </summary>
        string ConnectionString { get; }
        /// <summary>
        /// 服务器地址
        /// </summary>
        string ServerAddress { get; }
        /// <summary>
        /// 启用集群
        /// </summary>
        string MongodbClusterEnabled { get; }
        /// <summary>
        /// 副本集名称
        /// </summary>
        string ReplicaSetName { get; }
        /// <summary>
        /// 超时时间
        /// </summary>
        string TimeOut { get; }
    }
}
